package lab02.test35;

/**
 * 每月获得一份固定的工资
 * Created by AIR on 2017/11/13.
 */
public class Manager extends Employee {
    double monthSalary;

    public Manager(String name,double monthSalary) {
        super(name);
        this.monthSalary=monthSalary;
    }


    @Override
    double computeSalary() {
        return monthSalary;

    }
}
